package com.vehicle.mapper;

import com.vehicle.bean.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-04-21
 */
@Component
public interface CategoryMapper extends BaseMapper<Category> {
    List<String> getAllCategoryName();

    String getCategoryNameById(Integer id);

    Integer getCategoryIdByName(String category_name);
}
